module.exports = {
	// http://106.52.8.132:8089/api/sms/send
	transpileDependencies: ['uview-ui'],
	devServer: {
		disableHostCheck: true,
		proxy: {
			'/api': {
				// target: 'http://106.52.8.132:8089/',
				// target: 'https://api.dongfresh.com/', // 线上环境
				target: 'https://tm.dongfresh.com/', // 测试环境
				changeOrigin: true,
				logLevel: 'debug',
				rewrite: (path) => path.replace(/^\/api/, '')
			}
		}
	}
};